package main;

import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

public class Listen implements Listener {

    @EventHandler
    public void onLogin(PlayerJoinEvent event)
    {
        event.getPlayer().sendMessage(ChatColor.translateAlternateColorCodes('&',"&4&l==============================="));
        event.getPlayer().sendMessage(ChatColor.translateAlternateColorCodes('&',"&b&lWelcome "+event.getPlayer().getName()+" Join the Game!"));
        event.getPlayer().sendMessage(ChatColor.translateAlternateColorCodes('&',"&4&l==============================="));
    }
}
